package com.yunsc.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunsc.product.dto.SpecListDTO;
import com.yunsc.product.entity.YunscGoodsSpecRelEntity;

import java.util.List;

/**
 * 商品与规格值关系记录表
 *
 * @author adan
 * @email 2028038953@qq.com
 * @date 2024-04-04 21:28:43
 */
public interface YunscGoodsSpecRelService extends IService<YunscGoodsSpecRelEntity> {

    /**
     * 根据商品id查询规格列表
     * @param goodsId 商品id
     * @return 规格列表
     */
    List<SpecListDTO> querySpecListById(Integer goodsId);
}

